using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class Stock
    {
        public Stock()
        {
            this.ActualGoodInStocks = new List<ActualGoodInStock>();
            this.BillOuts = new List<BillOut>();
            this.Purchases = new List<Purchase>();
            this.StorageDetails = new List<StorageDetail>();
        }

        public int ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public Nullable<int> CurrentCompanyID { get; set; }
        public Nullable<int> MaxQuatity { get; set; }
        public string Description { get; set; }
        public string Address { get; set; }
        public Nullable<int> Type { get; set; }
        public virtual ICollection<ActualGoodInStock> ActualGoodInStocks { get; set; }
        public virtual ICollection<BillOut> BillOuts { get; set; }
        public virtual ICollection<Purchase> Purchases { get; set; }
        public virtual ICollection<StorageDetail> StorageDetails { get; set; }
    }
}
